package com.lx.patterns.factory.abstract_factory;

/**
 * @ClassName Coffle
 * @Description: 咖啡基类
 * @Author: 落雪
 * @CreateDate: 2025/1/14 06:53
 * @UpdateUser: 落雪
 * @UpdateDate: 2025/1/14 06:53
 * @UpdateRemark:
 * @Version: 1.0
 */
public abstract class Coffee {

    protected  abstract String getName();

    //加糖
    public void addSugar() {
        System.out.println("加糖");
    }

    //加奶
    public void addMilk() {
        System.out.println("加奶");
    }




}
